package com.orange.example.service.impl;

import com.orange.example.bean.User;
import com.orange.example.mapper.UserMapper;
import com.orange.example.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User selectById(Integer id) {
        return userMapper.selectById(id);
    }

}
